package com.exchange.entity.vo;


import com.exchange.entity.pojo.Power;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author : RulerWood
 * @Data : 2024/4/24 - 20:07
 */
@Data
public class MapVo implements Serializable {
    public MapVo() {
        this.iconPath="../../static/folder.png";
        this.width=30;
        this.height=30;
    }

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private BigDecimal latitude;

    private BigDecimal longitude;

    private String address;

    private Long remark;

    private Date createTime;

    private Date updateTime;
    private String iconPath;
    private Integer width;
    private Integer height;
    //电柜信息
    private Power power;

}
